import 'highlight.js/styles/atom-one-dark.css'
import highlight from 'highlight.js/lib/core'
import javascript from 'highlight.js/lib/languages/javascript'
import typescript from 'highlight.js/lib/languages/typescript'
import json from 'highlight.js/lib/languages/json'
import css from 'highlight.js/lib/languages/css'
import scss from 'highlight.js/lib/languages/scss'
import xml from 'highlight.js/lib/languages/xml'
import python from 'highlight.js/lib/languages/python'
import java from 'highlight.js/lib/languages/java'

highlight.registerLanguage('js', javascript)
highlight.registerLanguage('ts', typescript)
highlight.registerLanguage('json', json)
highlight.registerLanguage('scss', scss)
highlight.registerLanguage('css', css)
highlight.registerLanguage('html', xml)
highlight.registerLanguage('py', python)
highlight.registerLanguage('java', java)
